package com.wl4837;

public abstract class Approver {

    protected Approver successor; // 后继处理者

    // 设置后继处理者
    public void setSuccessor(Approver successor) {
        this.successor = successor;
    }

    // 处理审批请求的方法
    public abstract void processRequest(PurchaseRequest request);

}
